package com.loves.aouth.controller;

import com.loves.aouth.service.FeginTestService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RequestMapping("/test")
@RestController
public class AouthController {

    @Resource
    private FeginTestService feginTestService;

    @GetMapping("/name")
    public String test() {
        return feginTestService.test();
    }
}
